enum BrandEndorseApplyField {
  NICK_NAME = "nick_name",
  MOBILE = "mobile",
  WECHAT_ID = "wechat_id",
  REMARK = "remark"
}

export const isBrandEndorseApplyField = (val: any): val is BrandEndorseApplyField => {
  return [
    BrandEndorseApplyField.NICK_NAME,
    BrandEndorseApplyField.MOBILE,
    BrandEndorseApplyField.WECHAT_ID,
    BrandEndorseApplyField.REMARK,
  ].includes(val);
};

export const everyIsBrandEndorseApplyField = (vals: any[]): boolean => {
  return vals.every(isBrandEndorseApplyField)
}

export default BrandEndorseApplyField;